DrillShape PatternExecutionMode
The Pattern execution mode defines how the patterns will be applied during laser drilling. A drill shape can handle several passes of the same drill pattern. These passes can be configured to optimize the drill quality by changing and fine tuning the parameters, .
|
Pass 1 |
Pass 2 |
Pass 3 |
Drill Point 1 |
|
|
|
Drill Point 2 |
|
|
|
Drill Point 3 |
|
|
|
The execution mode can be chosen to be either
Whole Shape – where each pass pattern will be applied to the whole drill shape one after other. ( Column by Column)
Point by Point – where all the pass patterns will be applied to each point after point. ( Row by Row)
public DrillPatternExecuteMode PatternExecutionMode {get} |
Return value
DrillPatternExecuteMode | Execution mode |
Example
IList<ControlledDrillPattern> patternList = new List<ControlledDrillPattern>();
bool pulsemode = false;
PointAndShootDrillShapePattern pointandShootPattern = new PointAndShootDrillShapePattern();
pointandShootPattern.UsePulseBurstMode = pulsemode;
// Create a Drill Pulse
DrillPulse pulse1 = new DrillPulse(2.5f, 2.5f, 5);
pointandShootPattern.AddDrillPulse(pulse1);
patternList.Add(pointandShootPattern);
SpiralDrillShapePattern spiralDrilPat = new SpiralDrillShapePattern();
spiralDrilPat.Clockwise = true;
spiralDrilPat.Angle = 0;
spiralDrilPat.InnerRadius = 5;
spiralDrilPat.InnerRotations = 2;
spiralDrilPat.OuterRadius = 10;
spiralDrilPat.OuterRotations = 2;
spiralDrilPat.Outwards = false;
spiralDrilPat.Pitch = 1;
spiralDrilPat.ReturnToStart = false;
patternList.Add(spiralDrilPat);
//Create a drill shape.
DrillShape drillShape = new DrillShape(patternList, DrillPatternExecuteMode.WholeShape);
//Add drill Points to the drill shape
drillShape.AddPointAndShootPoint(0, 0, 0);
drillShape.AddPointAndShootPoint(10, 10, 0);
drillShape.AddPointAndShootPoint(20, 20, 0);
// Add the Drill shape to vector image
vectorImage.AddDrill(drillShape);
if(drillShape.PatternExecutionMode == DrillPatternExecuteMode.WholeShape)
{
drillShape.LaserParameters.MarkingSpeed = 1000;
}